import click
import startuppy
from mint.startup.command import kfc, pass_ctx_from_parent


@kfc.command()
@click.option('--home', default=1, help='mint sdk home.')
@click.pass_context
def start_master(ctx, home):
    pass_ctx_from_parent(ctx)
    print("call master hello")

    startup = startuppy.StartUp("E:\\mint\\kungfu\\app", ctx.config)
    startup.load_master()


if __name__ == '__main__':
    start_master()
